<%@ include file="../common/top.jsp" %>

<div id="Catalog">
    <form action="editAccount" method="post">

        <h3>User Information</h3>

        <table>
            <tr>
                <td>User ID:</td>
                <td>${sessionScope.account.username}</td>
            </tr>
            <c:if test="${requestScope.editError != null}">

                <p> <font color="red">${requestScope.editError} </font> </p>


            </c:if>
            <tr>
                <td>New password:</td>
                <td>
                    <input type="password" name="password"/>
                </td>
            </tr>
            <tr>
                <td>Repeat password:</td>
                <td>
                    <input type="password" name="repeatedPassword"/>
                </td>
            </tr>
        </table>
        <%@ include file="IncludeAccountFields.jsp" %>

        <input type="submit" name="editAccount" value="Save Account Information"/>

    </form>
    <a href="orderForm">My Orders</a>
</div>

<%@ include file="../common/bottom.jsp" %>
